package com.freemalll.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商户附件值
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_attach_value")
@Schema(description = "MerAttachValue对象")
public class MerAttachValue extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "附件值id")
    @TableId(value = "val_id", type = IdType.ASSIGN_UUID)
    private String valId;

    @Schema(description = "所属附件")
    @TableField("attach_id")
    private String attachId;

    @Schema(description = "附件值")
    @TableField("val_value")
    private String valValue;

}
